
#
names = ['悟空', '八戒', '沙僧']
for t in enumerate(names, start=1):
    # print(t)  # (1, '悟空')
    number, name = t   # 赋值语句的写法
    print(f'{number}) {name}')